package com.azt.api.enums;

public enum RoleEnum {
	
	cadmin("管理员",1,1),padmin("管理员",2,1),register("注册用户",3,0),buyer("采购员",1,0),saler("销售员",2,0),designer("设计员",1,0),cfinance("财务专员",1,0),pfinance("财务专员",2,0);

	private String name;
	private Integer roleType;
	private Integer ifAdmin;
	
	private RoleEnum(String name, Integer roleType,Integer ifAdmin) {
	       this.name = name;
           this.roleType = roleType;
           this.ifAdmin=ifAdmin;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getRoleType() {
		return roleType;
	}

	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}

    public Integer getIfAdmin() {
		return ifAdmin;
	}

	public void setIfAdmin(Integer ifAdmin) {
		this.ifAdmin = ifAdmin;
	}

	

}
